using Game;

namespace SCIENEW {
    /// <summary>
    /// 流体传输系统元素的连接点
    /// </summary>
    public class FluidConnector {
        /// <summary>
        /// 连接点附着的方块面
        /// </summary>
        public CellFace MountedFace;
        /// <summary>
        /// 连接点的类型
        /// </summary>
        public FluidConnectorType ConnectorType;
        /// <summary>
        /// 连接点的最大流量
        /// </summary>
        public float Rate;

        public FluidConnector(CellFace mountedFace, FluidConnectorType type, float rate) {
            MountedFace = mountedFace;
            ConnectorType = type;
            Rate = rate;
        }
    }
}